Implementation of spread spectrum in pfm mode for dc-dc converters

ABSTRACT

Methods and apparatus for operating a DC-to-DC voltage converter that has a power stage that includes at least one switching transistor. The output voltage of the DC-to-DC voltage converter is monitored. If the output voltage drops below a lower output voltage threshold, a series of drive pulses is provided to the at least one switching transistor to commence switching of the at least one switching transistor. If the output voltage rises above an upper output voltage threshold, a random number of additional drive pulses is provided to the at least one switching transistor and then the provision of drive pulses to the at least one switching transistor is ceased.

BACKGROUND

The increasing demand of integrating electronic devices onto automotive,industrial, and consumer platforms requires more sophisticated powerconversion and distribution designs. Often these electronic devicesinclude embedded processors, memories, and other electronic componentsthat are operated from one battery source. DC-to-DC voltage convertersare used to supply different voltages to the different electroniccomponents.

Switching DC-to-DC voltage converters are popular because of their highefficiency over a wide voltage input range. In contemporary low-powerswitching DC-to-DC converters, voltage regulation is achieved bypulse-width modulation (PWM). In pulse-width modulation, a controlcircuit produces a rectangular pulse wave that drives an internaltransistor (or transistors in a synchronous device), rapidly switchingthe transistor(s) at a set frequency, typically in the range of a fewmegahertz. The output voltage of such a DC-to-DC voltage converter isproportional to the duty cycle of the drive pulse. A voltage-feedback orcurrent-feedback control loop allows a PWM controller output to regulatethe output voltage in response to load changes. The technique generallyworks well, but at low loads the efficiency falls off rapidly, which canshorten battery life in portable products, particularly those that spenda lot of time in a “standby” mode.

One technique for improving the efficiency of a DC-to-DC converter atlow loads is to introduce a pulse-frequency modulation (PFM) mode at lowloads. PFM control is similar to PWM control in that it employs arectangular pulse train to determine the output voltage of theregulator. However, instead of altering the duty cycle of the pulsetrain of a fixed frequency to set the output voltage, PFM alters thefrequency of a pulse train having a fixed duty cycle.

FIG. 1 is a schematic circuit diagram representing an illustrativeDC-to-DC voltage converter 100. The type of DC-to-DC voltage converter100 depicted in FIG. 1 is sometimes referred to as a buck converter. TheDC-to-DC voltage converter 100 includes a power stage 110 that includesa high-side transistor Q1 and a low-side transistor Q2 that serve asswitches. In the example of FIG. 1, transistor Q1 is a p-channeltransistor and transistor Q2 is an n-channel transistor. The source oftransistor Q1 is coupled to a voltage input 102 that is couplable to apower supply. During operation of the DC-to-DC voltage converter 100,the voltage input 102 operates at an input voltage V_(in), which is a DCvoltage that is to be converted to another DC voltage by the DC-to-DCvoltage converter 100. The drain of transistor Q1 is coupled to a switchnode N1. The drain of transistor Q2 is coupled to the switch node N1 andthe source of transistor Q2 is coupled to a ground node. The ground nodemay operate at a potential of ground or a potential that is differentthan or lower than the input voltage V₁. In the illustrative embodimentshown in FIG. 1, the high-side transistor Q1 is a PMOS (p-channelmetal-oxide-semiconductor field-effect) transistor and the low-sidetransistor Q2 is an NMOS (n-channel metal-oxide-semiconductorfield-effect) transistor, which constitutes a typical power stage for aDC-to-DC voltage converter.

The DC-to-DC voltage converter 100 further includes an output stage 120that includes an inductor 112, an output capacitor 114, and an outputnode 116 that is couplable to a load. A first terminal of inductor 112is coupled to the switch node N1. The second terminal of the inductor112 is coupled to the output capacitor 114. The output 116, or outputnode, of the DC-to-DC voltage converter 100 operates at an outputvoltage V_(out) and is coupled to the junction of the inductor 112 andthe output capacitor 114. The output voltage V_(out) is the DC voltagegenerated by the DC-to-DC voltage converter 100.

The gates of transistors Q1 and Q2 are coupled to a control circuit 130that generates gate voltages to turn the transistors Q1 and Q2 off andon. Accordingly, the control circuit 130 serves as a switch controllerto control the switching function of transistors Q1 and Q2. The DC-to-DCvoltage converter 100 receives the input voltage V_(in) at the input102. At times when the control circuit 130 is causing the transistors Q1and Q2 to switch, the control circuit turns transistors Q1 and Q2 on andoff such that one transistor is on while the other transistor is off.The on and off periods control the current I_(L) flowing through theinductor 112. The current I_(L) generates a voltage across the outputcapacitor 114, which is the output voltage V_(OUT) of the DC-to-DCvoltage converter 100. As mentioned previously, the DC-to-DC converter100 shown in FIG. 1 is merely illustrative. The illustrative converter100 of FIG. 1 employs a synchronous power stage 110 with two synchronoustransistors Q1 and Q2. Alternative embodiments can employ a single powerstage transistor that drives the output stage 120.

In the pulse-frequency modulation (PFM) operating mode, the switchingactivity of the transistors Q1 and Q2 is reduced. FIG. 2 is a timingdiagram showing the relationship of gate driver signals 200 provided totransistor Q1, the inductor current I_(L) 210 and the output voltageV_(out) 220. Note that the gate driver signal provided to transistor Q2is not shown in FIG. 2, but when transistors Q1 and Q2 are in aswitching mode, the gate driver signals for transistors Q1 and Q2 arecomplementary, such that transistor Q2 is off when transistor Q1 is onand vice versa. As can be seen in FIG. 2, a low value of the rectangularpulse 200 provided to the gate of PMOS transistor Q1 causes thetransistor Q1 to turn on, which in turn causes the inductor currentI_(L) 210 to rise until the gate driver signal 200 goes high, thusturning transistor Q1 200 off. When the transistor Q1 switches off, theinductor current I_(L) 210 drops until the transistor Q1 200 switchesback on again, and so forth. The control circuit 130 of FIG. 1 monitorsthe output voltage V_(out). When the output voltage V_(out) 220surpasses an upper voltage threshold V_(th2), the control circuit 130causes the transistor Q1 to stop switching, that is, the control circuit130 turns off transistor Q1 by providing a high gate driver signal tothe gate of transistor Q1. Thus, the output capacitor 114 of the voltageconverter 100 is charged with one or several pulses. In the examplerepresented by FIG. 2, the output capacitor 114 is charged with fourpulses before the output voltage V_(out) 220 reaches the upper thresholdvoltage V_(th2). Then the switching activity is stopped by the controlcircuit 130 and the supply current of the voltage converter 100 isreduced to a minimum. The output capacitor 114 is then discharged by theload current, causing the output voltage V_(out) 220 to drop. When theoutput voltage drops below a lower threshold voltage V_(th1) the voltageconverter 100 is enabled again, i.e., the control circuit 130 causes thetransistors Q1 and Q2 to begin switching again, and the output capacitor114 is charged again.

Depending on the load current, output capacitor 114 and several otherparameters, a DC-to-DC voltage converter operating in a pulse-frequencymodulation mode such as represented in FIG. 2 generates pulsefrequencies much lower than the switching frequency, down to the audiofrequency band. As can be seen in FIG. 2, under constant conditionsthese frequencies are also constant. These low constant frequencies canresult in a significant spur energy being generated at the singlefrequency of PFM operation, which can disturb other sensitive circuitsin the system.

SUMMARY

Illustrative aspects of the present disclosure are directed to a methodof operating an electrical circuit that comprises at least one switchingtransistor. Pursuant to said method, drive pulses are provided to the atleast one switching transistor to cause switching of the at least oneswitching transistor. A parameter of the electrical circuit is monitoredand compared to a threshold value. If the parameter reaches thethreshold value, a random number of additional drive pulses is providedto the at least one switching transistor and then the providing of drivepulses to the at least one switching transistor is ceased.

Other illustrative aspects of the present disclosure are directed to aDC-to-DC voltage converter that has a power stage and an output stage.The power stage includes a voltage input, a switching transistor, and acontrol circuit. The switching transistor has first, second and thirdterminals, wherein a voltage level at the first terminal controls inpart a current flow from the second terminal to the third terminal. Thesecond terminal is coupled to the voltage input. The control circuitprovides switching control signals to the first terminal of theswitching transistor. The output stage includes an inductor and anoutput capacitor. The inductor is coupled between the third terminal ofthe switching transistor and a voltage output. The output capacitor iscoupled between the voltage output and ground. The control circuitmonitors the output voltage at the voltage output. In response to theoutput voltage dropping below a lower output voltage threshold, thecontrol circuit begins providing a series of drive pulses to the firstterminal of the switching transistor. In response to the output voltagerising above an upper output voltage threshold, the control circuitprovides a random number of additional drive pulses to the firstterminal of the switching transistor and then stops providing drivepulses to the first terminal of the switching transistor.

Other illustrative aspects of the present disclosure are directed to aDC-to-DC voltage converter that has a switching transistor, an inductor,and a control circuit. The switching transistor has first, second andthird terminals. A voltage level at the first terminal controls in parta current flow from the second terminal to the third terminal. Theinductor is coupled between the third terminal of the switchingtransistor and a voltage output. The control circuit monitors the outputvoltage at the voltage output and commences providing a series of drivepulses to the first terminal of the switching transistor in response tothe output voltage dropping below a lower output voltage threshold. Inresponse to the output voltage rising above an upper output voltagethreshold, the control circuit provides a random number of additionaldrive pulses to the first terminal of the switching transistor and thenceases providing drive pulses to the first terminal of the switchingtransistor.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic circuit diagram representing an illustrativeDC-to-DC voltage converter.

FIG. 2 is a timing diagram showing the relationship of gate driversignals provided to a switching transistor, an inductor current, and anoutput voltage of a DC-to-DC converter operating in PFM mode.

FIG. 3 is a schematic circuit diagram representing an illustrativeDC-to-DC voltage converter.

FIG. 4 is a simplified block diagram representing control circuitrypertaining to converter control during PFM operation of a DC-to-DCvoltage converter.

FIG. 5 is a timing diagram showing the relationship of gate driversignals provided to a switching transistor, an inductor current, and anoutput voltage of a DC-to-DC Converter operating in PFM mode.

FIG. 6 is a flowchart representing a method of operating a DC-to-DCvoltage converter having a power stage that includes at least oneswitching transistor.

DETAILED DESCRIPTION

Illustrative aspects of the present disclosure are directed totechniques for reducing the spur energy generated by a DC-to-DCconverter operating in pulse-frequency modulation (PFM) mode converters.Aspects of the present disclosure are applicable to substantially anytype of DC-to-DC voltage converter that employs a pulse-frequencymodulation (PFM) mode.

FIG. 3 is a schematic circuit diagram representing an illustrativeDC-to-DC voltage converter 300. The type of DC-to-DC voltage converter300 depicted in FIG. 3 is sometimes referred to as a buck converter. Forpurposes of illustration, aspects of the disclosure will be describedwith respect to a buck converter topology such as that shown in FIG. 3,but aspects of the present disclosure are applicable to other convertertopologies as well. The DC-to-DC voltage converter 300 includes a powerstage 310 that includes a high-side transistor Q1 and a low-sidetransistor Q2 that serve as switches. In the example of FIG. 3,transistor Q1 is a p-channel transistor and transistor Q2 is ann-channel transistor. The source of transistor Q1 is coupled to avoltage input 302 that is couplable to a power supply. During operationof the DC-to-DC voltage converter 300, the voltage input 302 operates atan input voltage V_(in), which is a DC voltage that is to be convertedto another DC voltage by the DC-to-DC voltage converter 300. The drainof transistor Q1 is coupled to a switch node N1. The drain of transistorQ2 is coupled to the switch node N1 and the source of transistor Q2 iscoupled to a ground node. The ground node may operate at a potential ofground or a potential that is different than or lower than the inputvoltage V_(in). In the illustrative embodiment shown in FIG. 3, thehigh-side transistor Q1 is a PMOS (p-channel metal-oxide-semiconductorfield-effect) transistor and the low-side transistor Q2 is an NMOS(n-channel metal-oxide-semiconductor field-effect) transistor, whichconstitutes a typical power stage for a DC-to-DC voltage converter.

The DC-to-DC voltage converter 300 further includes an output stage 320that includes an inductor 312, an output capacitor 314, and an outputnode 316 that is couplable to a load. A first terminal of inductor 312is coupled to the switch node N1. The second terminal of the inductor312 is coupled to the output capacitor 314. The output 316, or outputnode, of the DC-to-DC voltage converter 300 operates at an outputvoltage V_(out) and is coupled to the junction of the inductor 312 andthe output capacitor 314. The output voltage V_(out) is the DC voltagegenerated by the DC-to-DC voltage converter 300.

The gates of transistors Q1 and Q2 are coupled to a control circuit 330that generates gate voltages to turn the transistors Q1 and Q2 off andon. Accordingly, the control circuit 330 serves as a switch controllerto control the switching function of transistors Q1 and Q2. The DC-to-DCvoltage converter 300 receives the input voltage V_(in) at the input302. At times when the control circuit 130 is causing the transistors Q1and Q2 to switch, the control circuit turns transistors Q1 and Q2 on andoff such that one transistor is on while the other transistor is off.The on and off periods control the current I_(L) flowing through theinductor 312. The current I_(L) generates a voltage across the outputcapacitor 314, which is the output voltage V_(OUT) of the DC-to-DCvoltage converter 300. A peak current sensor 332 coupled to the drain ofthe high-side transistor Q1 determines the peak value (and on-time) ofthe current provided to the inductor 312 and provides this informationto the control circuit 330. As mentioned previously, the DC-to-DCconverter 300 shown in FIG. 3 is merely illustrative. The illustrativeconverter 300 of FIG. 3 employs a synchronous power stage 310 with twosynchronous transistors Q1 and Q2. Alternative embodiments can employ asingle power stage transistor that drives the output stage 320.

FIG. 4 is a simplified block diagram representing control circuitry 400of control circuit 330 pertaining to converter control duringpulse-frequency modulation (PFM) operation of the DC-to-DC voltageconverter 300. FIG. 4 shows a comparator 410 with hysteresis, a gatedriver circuit 420, a counter 430, and a random number generator (RNG)440. The operation of the control circuitry 400 will be described withreference to the timing diagram of FIG. 5. FIG. 5 is a timing diagramshowing the relationship of gate driver signals 500 provided totransistor Q1 of FIG. 3, the inductor current I_(L) 510 and the outputvoltage V_(out) 520 using a PFM-mode control scheme in accordance withaspects of the present disclosure. Note that the gate driver signalprovided to transistor Q2 is not shown in FIG. 5, but when transistorsQ1 and Q2 are in a switching mode, the gate driver signals fortransistors Q1 and Q2 are complementary, such that transistor Q2 is offwhen transistor Q1 is on and vice versa. As can be seen in FIG. 5, the“low” periods of the rectangular pulses 500 provided to the gate of PMOStransistor Q1 cause the transistor Q1 to turn on, thereby causing theinductor current I_(L) 510 to rise until the gate driver signal 500 goeshigh, thereby causing the transistor Q1 to switch off. When thetransistor Q1 switches off, it causes the inductor current I_(L) 510 todrop until the transistor Q1 500 switches back on again, and so forth.In the control scheme represented by FIG. 5, the control circuit 300drives the switching transistors Q1 and Q2 such that the inductorcurrent I_(L) 510 has a substantially constant peak value and asubstantially constant valley value.

Referring to FIG. 4, the comparator 410 operates with hysteresis. Thatis, when the output capacitor 314 is discharging, i.e., when the outputvoltage V_(out) 520 is decreasing, the comparator 410 compares theoutput voltage V_(out) 520 with a lower threshold voltage V_(th1). Andwhen the output capacitor 314 is charging, i.e., when the output voltageV_(out) 520 is increasing, the comparator 410 compares the outputvoltage V_(out) 520 to an upper voltage threshold V_(th2). Thus when theoutput voltage V_(out) 520 drops below the lower voltage thresholdV_(th1), the comparator 410 provides a signal (illustratively a logical“0”) to the gate driver control circuit 420. In response, the gatedriver control circuit 420 commences providing drive pulses 500 toswitching transistors Q1 and Q2 to commence switching of the transistorsQ1 and Q2, causing a constant-peak or constant-valley current to flowthrough inductor 312 and charge the output capacitor 314, and causingthe output voltage V_(out) 520 to increase.

When the output voltage V_(out) 520 rises above the upper voltagethreshold V_(th2), the comparator 410 provides a signal (illustrativelya logical “1”) to the gate driver control circuit 420 and to the counter430. In response to the indication that the output voltage V_(out) 520has risen above the upper threshold voltage V_(th2), rather thanimmediately stopping its driving of transistors Q1 and Q2 with gatedriver pulses 500, the gate drive control circuit 420 continuesproviding gate driver pulses 500 to the gates of transistors Q1 and Q2,thus increasing the output voltage V_(out) 520 further beyond the uppervoltage threshold V_(th2). Meanwhile, when the counter 430 receives theindication from the comparator 410 that the output voltage V_(out) 520has risen above the upper threshold voltage V_(th2), the counter 430begins counting the number of gate driver pulses generated by the gatedriver circuit 420. When the number of “additional” gate driver pulses,i.e., the number of pulses generated after the output voltage V_(out)rose above the upper voltage threshold V_(th2), reaches a random numberproduced by the random number generator 440, the counter sends a signalto the gate driver circuit 420 indicating as such. In response to thisindication, the gate driver circuit 420 stops driving transistors Q1 andQ2 with gate driver pulses 500, thus reducing the supply current I_(L)510 to a minimum, which causes the output capacitor 314 to begindischarging and the output voltage V_(out) 520 to start dropping.

Looking at the example timing diagram of FIG. 5, it can be seen that thefirst time the output voltage V_(out) 520 rises above the upper voltagethreshold V_(th2), at point 540, the random number generator 440generates the number 2 and therefore the counter 430 counts out twoadditional gate driver pulses 500 and then causes the gate drivercircuit 420 to cease generating gate driver pulses 500. The second timethe output voltage V_(out) 520 rises above the upper voltage thresholdV_(th2), at point 550, the random number generator 440 generates thenumber 0. Thus the counter 430 immediately causes the gate drivercircuit 420 to cease generating gate driver pulses 500. The third timethe output voltage V_(out) 520 rises above the upper voltage thresholdV_(th2), at point 560, the random number generator 440 generates thenumber 4 and therefore the counter 430 counts out four additional gatedriver pulses 500 before causing the gate driver circuit 420 to ceasegenerating gate driver pulses 500.

With this solution, the peak and ripple voltage of the PFM operation ismodulated randomly. Therefore the PFM frequency is modulated by thenumber of additional pulses, which causes the spur energy to spread.With increasing load current, the number of switching cycles during thecharge phase increases. Therefore the effect of the additional pulses isreduced. This automatically reduces the PFM ripple voltage close tocontinuous conduction mode and ensures a smooth and stable transition ofthe two operating conditions.

In an alternative embodiment of the present disclosure, rather thanusing a counter 430 and a random number generator 440 to randomly varythe peak output voltage and the PFM frequency, the control circuit 330randomly varies the upper voltage threshold V_(th2) of the comparator410 in each capacitor charging phase. This achieves the same result asthat shown in FIG. 5, i.e., the peak and ripple voltage and the PFMfrequency of the PFM operation is randomly modulated, which causes thespur energy to spread.

As explained above, in the illustrative embodiment represented by FIGS.4 and 5, the counter 430 starts counting out a random number ofadditional gate driver pulses when the output voltage V_(out) risesabove the upper voltage threshold V_(th2), and the control circuit 330stops providing gate driver pulses after the additional number of pulseshas been provided. The control circuit then resumes providing gatedriver pulses when the output voltage V_(out) drops below the lowervoltage threshold V_(th1). Thus, in this illustrative embodiment thedetermination of when to start and stop providing the gate driver pulsesis based on the output voltage V_(out). In alternative embodiments, thedetermination of when the counter 430 starts counting out a randomnumber of additional pulses is based on criteria other than the outputvoltage V_(out). In such alternative embodiments, the counter 430receives the indication to commence counting out a random number ofadditional pulses from some circuit element other than a comparatorobserving the output voltage V_(out).

FIG. 6 is a flowchart representing a method of operating a DC-to-DCvoltage converter having a power stage that includes at least oneswitching transistor. At step 600, the output voltage of the DC-to-DCconverter is monitored. At step 610, if the output voltage drops below alower output voltage threshold, a series of drive pulses is provided tothe at least one switching transistor to commence switching of the atleast one switching transistor. At step 620, if the output voltage risesabove an upper output voltage threshold, a random number of additionaldrive pulses is provided to the at least one switching transistor andthen the providing of drive pulses to the at least one switchingtransistor is ceased.

While some examples of modulating the PFM frequency of a DC-to-DCvoltage converter operating in pulse-frequency modulation mode have beendescribed in detail herein, it is to be understood that the inventiveconcepts may be otherwise variously embodied and employed and that theappended claims are intended to be construed to include such variationsexcept insofar as limited by the prior art. For example, while aspectsof the disclosure are described herein with respect to a buck converter,aspects of the disclosure can also be implemented with regards to othertypes of converters, including other kinds of DC-to-DC converters,including, but not limited to, boost converters, buck-boost converters,and sepic converters, as well as to charge pump circuits and othercircuits that incorporate switching transistors.

1. A method of operating an electrical circuit comprising a DC-DCvoltage converter having at least one switching transistor, the methodcomprising: providing drive pulses to the at least one switchingtransistor to cause switching of the at least one switching transistor;monitoring a parameter of the electrical circuit; comparing theparameter to a threshold value; and if the parameter reaches thethreshold value, providing a random number of additional drive pulses tothe at least one switching transistor and then ceasing the providing ofdrive pulses to the at least one switching transistor, wherein theparameter comprises an output voltage of the DC-to-DC voltage converter,wherein if the output voltage rises above an upper output voltagethreshold, the random number of additional drive pulses are provided tothe at least one switching transistor and then the providing of drivepulses to the at least one switching transistor is ceased.
 2. (canceled)3. (canceled)
 4. The method of claim 1, further comprising: if theoutput voltage drops below a lower output voltage threshold, commencingproviding a series of drive pulses to the at least one switchingtransistor to commence switching of the at least one switchingtransistor.
 5. The method of claim 1 wherein said DC-to-DC voltageconverter further comprises an output stage comprising: an inductorcoupled between the at least one switching transistor and an output nodeand configured to receive current from the at least one switchingtransistor in response to the drive pulses provided to the at least oneswitching transistor; and an output capacitor coupled between the outputnode and a ground.
 6. The method of claim 5 wherein said providing aseries of drive pulses to the at least one switching transistor tocommence switching of the at least one switching transistor results in apulsed inductor current through the inductor.
 7. The method of claim 6wherein said pulsed inductor current charges the output capacitor,thereby increasing the output voltage at the output node.
 8. The methodof claim 1 wherein said providing direct the random number of additionaldrive pulses to the at least one switching transistor after the outputvoltage rises above an upper output voltage threshold causes a peakoutput voltage to be modulated randomly.
 9. The method of claim 1wherein said DC-to-DC voltage converter is capable of operating in apulse frequency modulation (PFM) mode and wherein said providing therandom number of additional drive pulses to the at least one switchingtransistor after the output voltage rises above an upper output voltagethreshold causes the PFM frequency to be modulated randomly.
 10. ADC-to-DC voltage converter comprising: a power stage comprising: avoltage input; a switching transistor comprising first, second and thirdterminals, wherein a voltage level at said first terminal controls inpart a current flow from said second terminal to said third terminal,said second terminal being coupled to said voltage input; and a controlcircuit operable to provide switching control signals to the firstterminal of said switching transistor; and an output stage comprising aninductor coupled between the third terminal of said switching transistorand a voltage output; and an output capacitor coupled between saidvoltage output and ground; wherein said control circuit is operable tomonitor an output voltage at the voltage output and to: in response tothe output voltage dropping below a lower output voltage threshold,commence providing a series of drive pulses to the first terminal ofsaid switching transistor; and in response to the output voltage risingabove an upper output voltage threshold, provide a random number ofadditional drive pulses to the first terminal of said switchingtransistor and then cease providing drive pulses to the first terminalof said switching transistor.
 11. The DC-to-DC voltage converter ofclaim 10 further comprising a second switching transistor comprisingfirst, second and third terminals, wherein a voltage level at said firstterminal controls in part a current flow from said second terminal tosaid third terminal, said second terminal being coupled to ground andsaid third terminal being coupled to the third terminal of the firstswitching transistor.
 12. The DC-to-DC voltage converter of claim 10wherein the control circuit comprises a comparator with hysteresis, saidcomparator being operable to determine when the output voltage dropsbelow the lower output voltage threshold and when the output voltagerises above the upper output voltage threshold.
 13. The DC-to-DC voltageconverter of claim 10 wherein said providing the random number ofadditional drive pulses to the first terminal of said switchingtransistor after the output voltage rises above the upper output voltagethreshold causes a peak output voltage to be modulated randomly.
 14. TheDC-to-DC voltage converter of claim 10 wherein said control circuit isoperable to drive the switching transistor in a pulse frequencymodulation (PFM) mode and wherein said providing the random number ofadditional drive pulses to the first terminal of said switchingtransistor after the output voltage rises above the upper output voltagethreshold causes the PFM frequency to be modulated randomly.
 15. Acontroller for a DC-to-DC voltage converter, said controller comprising:a comparator with hysteresis, said comparator being configured toreceive an output voltage of the DC-to-DC converter and to determinewhen said output voltage drops below a lower output voltage thresholdand when the output voltage rises above an upper output voltagethreshold; and control circuitry operable to commence generating aseries of drive pulses in response to the output voltage dropping belowthe lower output voltage threshold, and operable, in response to theoutput voltage rising above the upper output voltage threshold, togenerate a random number of additional drive pulses and then ceasegenerating drive pulses.
 16. The controller of claim 15 wherein theDC-to-DC converter comprises a power-stage transistor comprising first,second and third terminals, wherein a voltage level at said firstterminal controls in part a current flow from said second terminal tosaid third terminal, and wherein the control circuitry is operable toprovide the generated drive pulses to the first terminal of saidpower-stage transistor.
 17. The controller of claim 16 wherein saidproviding the random number of additional drive pulses to thepower-stage transistor after the output voltage rises above the upperoutput voltage threshold causes the peak output voltage of the DC-to-DCconverter to be modulated randomly.
 18. The controller of claim 16wherein said control circuitry is operable to drive the power-stagetransistor in a pulse frequency modulation (PFM) mode and wherein saidproviding the random number of additional drive pulses to the firstterminal of said power-stage transistor after the output voltage risesabove the upper output voltage threshold causes the PFM frequency to bemodulated randomly.
 19. The controller of claim 15 wherein said controlcircuitry comprises: a gate driver circuit operable to commencegenerating a series of drive pulses in response to the output voltagedropping below the lower output voltage threshold; a random numbergenerator operable to generate a random number; and a counter operable,in response to the output voltage rising above the upper output voltagethreshold, to count a number of drive pulses generated by the gatedriver circuit, and operable to provide an indication to the gate drivercircuit when the number of counted drive pulses reaches said randomnumber.
 20. The controller of claim 19 wherein the DC-to-DC convertercomprises a power-stage field-effect transistor, and wherein the gatedriver circuit is operable to provide the generated drive pulses to thegate of said power-stage field-effect transistor.